package cn.stylefeng.guns.modular.system.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.stylefeng.guns.modular.system.entity.BasicDeliver;
import cn.stylefeng.guns.modular.system.model.params.BasicDeliverParam;
import cn.stylefeng.guns.modular.system.model.result.BasicDeliverResult;

/**
 * <p>
 * 交付管理表 Mapper 接口
 * </p>
 *
 * @author zhucx
 * @since 2019-06-25
 */
public interface BasicDeliverMapper extends BaseMapper<BasicDeliver> {

    /**
     * 获取列表
     *
     * @author zhucx
     * @Date 2019-06-25
     */
    List<BasicDeliverResult> customList(@Param("paramCondition") BasicDeliverParam paramCondition);

    /**
     * 获取map列表
     *
     * @author zhucx
     * @Date 2019-06-25
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") BasicDeliverParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author zhucx
     * @Date 2019-06-25
     */
    Page<BasicDeliverResult> customPageList(@Param("page") Page page, @Param("paramCondition") BasicDeliverParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author zhucx
     * @Date 2019-06-25
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") BasicDeliverParam paramCondition);

    BasicDeliverParam getBycustomername(@Param("customername") String customername);

	BasicDeliverResult findBySpec(@Param("paramCondition")BasicDeliverParam param);

}
